package com.sz.stock.model;

import java.math.BigDecimal;

public class StockBuyOrSale {
    private Integer stockBSId;

    private String stockCode;

    private String stockBSType;

    private BigDecimal stockBSPrice;

    private Integer stockBSQuantity;

    private Integer stockId;

    private Object stockTime;

    public StockBuyOrSale(Integer stockBSId, String stockCode, String stockBSType, BigDecimal stockBSPrice, Integer stockBSQuantity, Integer stockId, Object stockTime) {
        this.stockBSId = stockBSId;
        this.stockCode = stockCode;
        this.stockBSType = stockBSType;
        this.stockBSPrice = stockBSPrice;
        this.stockBSQuantity = stockBSQuantity;
        this.stockId = stockId;
        this.stockTime = stockTime;
    }

    public StockBuyOrSale() {
        super();
    }

    public Integer getStockBSId() {
        return stockBSId;
    }

    public void setStockBSId(Integer stockBSId) {
        this.stockBSId = stockBSId;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode == null ? null : stockCode.trim();
    }

    public String getStockBSType() {
        return stockBSType;
    }

    public void setStockBSType(String stockBSType) {
        this.stockBSType = stockBSType == null ? null : stockBSType.trim();
    }

    public BigDecimal getStockBSPrice() {
        return stockBSPrice;
    }

    public void setStockBSPrice(BigDecimal stockBSPrice) {
        this.stockBSPrice = stockBSPrice;
    }

    public Integer getStockBSQuantity() {
        return stockBSQuantity;
    }

    public void setStockBSQuantity(Integer stockBSQuantity) {
        this.stockBSQuantity = stockBSQuantity;
    }

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public Object getStockTime() {
        return stockTime;
    }

    public void setStockTime(Object stockTime) {
        this.stockTime = stockTime;
    }

    @Override
    public String toString() {
        return "StockBuyOrSale{" +
                "stockBSId=" + stockBSId +
                ", stockCode='" + stockCode + '\'' +
                ", stockBSType='" + stockBSType + '\'' +
                ", stockBSPrice=" + stockBSPrice +
                ", stockBSQuantity=" + stockBSQuantity +
                ", stockId=" + stockId +
                ", stockTime=" + stockTime +
                '}';
    }
}